import request from '@/utils/request'

// 查询EduTeacher列表
export function listEduTeacher(query) {
return request({
url: '/api/v1/edu/teacherList',
method: 'get',
params: query
})
}

// 查询EduTeacher详细
export function getEduTeacher (teacherId) {
return request({
url: '/api/v1/edu/teacher/' + teacherId,
method: 'get'
})
}


// 新增EduTeacher
export function addEduTeacher(data) {
return request({
url: '/api/v1/edu/teacher',
method: 'post',
data: data
})
}

// 修改EduTeacher
export function updateEduTeacher(data) {
return request({
url: '/api/v1/edu/teacher',
method: 'put',
data: data
})
}

// 删除EduTeacher
export function delEduTeacher(teacherId) {
return request({
url: '/api/v1/edu/teacher/' + teacherId,
method: 'delete'
})
}

